//
//  OpertaionBlock.h
//  MKUITestApp
//
//  Created by 苏尚进 on 2023/7/10.
//  Copyright © 2023 moon. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface OpertaionBlock : NSObject
@property(nonatomic,strong,nullable) id contenxt;
@property(nonatomic,copy,nullable) void(^block)(id context);
+ (OpertaionBlock *)block:(void(^_Nullable)(id context))block context:(nullable id)context;
- (void)run;
+ (void)enumBlocks:(NSArray<NSArray<OpertaionBlock *> *> *)blocks block:(void(^)(NSArray<OpertaionBlock *> *blocks))b;
@end

NS_ASSUME_NONNULL_END
